package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName:HelloWorld
 * @Author:杨雪艳20200507201
 * @Description:
 * @DateTime:2022/10/3 14:02
 **/
@RestController
@RequestMapping("/test")
public class HelloWorld {
    @RequestMapping("/hello")
    public String helloWorld(){
        return "Hello World!";
    }
}
